import axios from 'axios'
// import { message } from 'ant-design-vue'
// import router from '../../src/plugins/router'

const axiosre = axios.create({
   baseURL:'http://124.222.224.86:8666',
   timeout:10000,
   withCredentials:true
});
const axiosNore=axios.create({
   baseURL:'http://124.222.224.86:8666',
   timeout:10000
})
axiosre.interceptors.request.use(
    config => {
      if (!config.data) {
        config.data = {}
      }
     console.log(config);
      
 
    return config
    },
    error => Promise.reject(error)
  )


export{axiosNore}
export default axiosre